<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="java.util.List" %>
<%@ page import="com.yyyzzz.bean.Course" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.yyyzzz.service.courseService" %>
<%@ page import="com.yyyzzz.service.impl.courseServiceimpl" %><%--
  Created by IntelliJ IDEA.
  User: HP
  Date: 2021/11/25
  Time: 14:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>课程信息</title>
    <link href="courseInfo/courseInfo.css" rel="stylesheet" type="text/css">
</head>
<body>

<div>
    <header>
        <a href="#" class="logo">学生选课系统</a>
        <ul>
            <li>
                <a href="#" class="active">课程信息</a>

            </li>
            <li><a href="#">增加课程</a>
            </li>
            <li><a href="#">修改课程</a>
            </li>
            <li><a href="#">查看个人信息</a></li>
        </ul>
    </header>
    <section>
        <img src="Login/stars.png" id="stars">
        <img src="Login/moon.png" id="moon">
        <img src="Login/mountainsbehind.png" id="mountains_behind">
        <img src="Login/mountainsfront.png" id="mountains_front">
    </section>
    <div class="main1">
        <h1>课程信息</h1>
        <c:forEach items="${courseList0}" var="course">

            <form action="updateCourseServlet" method="post">
                <div><span>课程号</span><input readonly value="${course.courseId}" name="courseId" type="text" ></div>
                <div><span>课程名</span><input readonly value="${course.courseName}" name="courseName" type="text"></div>
                <div><span>任课教师</span><input readonly value="${course.courseTeacher}" name="courseTeacher" type="text"></div>
                <div><span>教室</span><input readonly value="${course.classroom}" name="classroom" type="text"></div>
                <div><span>学分</span><input readonly value="${course.credit}" name="credit" type="text"></div>
                <div class="bot"><a href="courseDetail.jsp">返回</a></div>
            </form>
        </c:forEach>
    </div>

</body>
</html>
